package org.example.lease.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.lease.model.entities.RoomInfo;
import org.example.lease.vo.room.RoomDetailVo;
import org.example.lease.vo.room.RoomItemVo;
import org.example.lease.vo.room.RoomQueryVo;
import org.example.lease.vo.room.RoomSubmitVo;

/**
 * @author 宋孟林
 * @description
 * @date: 2025/5/12 16:52
 */
public interface RoomInfoService extends IService<RoomInfo> {
    void saveOrUpdateRoomSubmitVo(RoomSubmitVo roomSubmitVo);
    IPage<RoomItemVo> pageRoomItemVo(IPage<RoomItemVo> page, RoomQueryVo roomQueryVo);

    RoomDetailVo getRoomDetailVoByRoomId(Long id);
    void removeRoomById(Long id);
}
